{extend name="index/index" /}

{block name="main"}


<div class="admin-biaogelist">
	
    <div class="listbiaoti am-cf">
      <ul class="am-icon-flag on"> 角色分配</ul>
      
      <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="#">角色分配</a></dl>

      
 </div>


    <div class="fbneirong">
      <form class="am-form" action="{:url('admin/user/setRole',['id'=>$user_id])}" method="post">
          {volist name="data" id="vo"}
          <div style="padding:30px;display:inline">
              <input type="checkbox" name="role_id[]" value="{$vo.id}" {in name="$vo.id" value="$rid"}checked{/in}>{$vo.rolename}
          </div>
          {/volist}

        <div class="am-form-group am-cf">
          <div class="you" style="margin-left: 11%;">
              <button type="submit" class="am-btn am-btn-success am-radius">确认修改</button>

          </div>
        </div>
      </form>
    </div>
{/block}